package com.sgb.kjwl.model.entity.manage;

import android.text.TextUtils;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class SpecialQualificationEntity implements Serializable {
    /**
     * address : 测试
     * companyNo : 202003162455984
     * companyName : 华强科技有限公司
     * name : xp测试添加11-09
     * logo : null
     * id : 881
     * type : 房建工程
     */
    private String address;
    private String addressNew;
    private String companyNo;
    private String companyName;
    private String name;
    private String logo;
    private String id;
    private String type;
    private String companyId;
    private String image;
    private String  serviceType;
    private String serviceName;//经营类型名称

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public List<NewAddEntity> getCustomFieldList() {
        if (customFieldList==null){
            customFieldList =new  ArrayList<NewAddEntity>();
        }
            return customFieldList;

    }

    public void setCustomFieldList(List<NewAddEntity> customFieldList) {
        this.customFieldList = customFieldList;
    }

    public String getServiceType() {
        if(TextUtils.isEmpty(serviceType)){
            serviceType="";
        }
        return serviceType;
    }

    public void setServiceType(String serviceType) {
        this.serviceType = serviceType;
    }

    private String qualificationClassName;
    private String registerTime;
    private String recordUnit;//备案单位
    private int siteType;
    private String phone;//联系电话
    private String qualificationNumber;//资质编号
    private String registeredCapital;//注册资金
    private String issuingAuthority;//发证单位
    private String certificateTime;//发证时间

    public String getAddressNew() {
        return addressNew;
    }

    public void setAddressNew(String addressNew) {
        this.addressNew = addressNew;
    }

    private List<NewAddEntity> customFieldList;//新增
    public String getRecordUnit() {
        return recordUnit;
    }

    public void setRecordUnit(String recordUnit) {
        this.recordUnit = recordUnit;
    }

    public String getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(String registerTime) {
        this.registerTime = registerTime;
    }

    public String getQualificationClassName() {
        return qualificationClassName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getQualificationNumber() {
        return qualificationNumber;
    }

    public void setQualificationNumber(String qualificationNumber) {
        this.qualificationNumber = qualificationNumber;
    }

    public String getRegisteredCapital() {
        return registeredCapital;
    }

    public void setRegisteredCapital(String registeredCapital) {
        this.registeredCapital = registeredCapital;
    }

    public String getIssuingAuthority() {
        return issuingAuthority;
    }

    public void setIssuingAuthority(String issuingAuthority) {
        this.issuingAuthority = issuingAuthority;
    }

    public String getCertificateTime() {
        return certificateTime;
    }

    public void setCertificateTime(String certificateTime) {
        this.certificateTime = certificateTime;
    }

    public void setQualificationClassName(String qualificationClassName) {
        this.qualificationClassName = qualificationClassName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCompanyNo() {
        return companyNo;
    }

    public void setCompanyNo(String companyNo) {
        this.companyNo = companyNo;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getSiteType() {
        return siteType;
    }

    public void setSiteType(int siteType) {
        this.siteType = siteType;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public static class NewAddEntity implements Serializable{
        private String fieldKey;
        private String fieldValue;

        public String getFieldKey() {
            return fieldKey;
        }

        public void setFieldKey(String fieldKey) {
            this.fieldKey = fieldKey;
        }

        public String getFieldValue() {
            return fieldValue;
        }

        public void setFieldValue(String fieldValue) {
            this.fieldValue = fieldValue;
        }
    }
}
